package com.tqjc.system.C24012.common.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: 86195
 * @CreateTime: 2024-07-10  16:43
 * @Description: TODO
 * @Version: 1.0
 */
@TableName("tqjc_zy_fault_record_info")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysFaultRecordInfoEntity {

    //主键
    private Long id;

    //错误类型
    private String faultType;


    //详情信息
    private String detailMsg;

    @TableField(value="CREATE_NAME", fill= FieldFill.INSERT)
    private String createName;

    @TableField(value="CREATE_DATE", fill=FieldFill.INSERT)
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date createDate;

    @TableField(value="UPDATE_NAME", fill=FieldFill.UPDATE)
    private String updateName;

    @TableField(value="UPDATE_DATE", fill=FieldFill.UPDATE)
    private Date updateDate;



}
